package com.galen.manual.dto;

import io.swagger.v3.oas.annotations.media.Schema;
// import lombok.Data;

import javax.validation.constraints.NotBlank;

// @Data
@Schema(description = "发送短信验证码请求")
public class SendSmsDTO {

    @Schema(description = "手机号", example = "13800138000", required = true)
    @NotBlank(message = "手机号不能为空")
    private String phone;

    // Getter and Setter
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}